package huy.mmt.gamelathinh.components;

import huy.mmt.gamelathinh.Play;

public class Level {
	/**
	 * Khai báo các thông số level public cho các hàm liên quan tới level. next
	 * level,...
	 */
	// Level max nhất
	public static int level_max = 5;
	
	//
	// Level đang chơi
	public static int level_current=1;

	/**
	 * Khai báo các hàm liên quan
	 * 
	 */

	public void setLevel() {
		this.level_current = Play.level_current;
	}
	// Lay level
	public int getLevel() {
		return level_current;
	}

// Neu thang thi next level
	public int next_level(boolean win, int level_cur) {
		// neu win = true thi moi tang levelb khi chua dat level max
		if (win = true) {
			this.level_current = this.level_current + 1;
			// neu level dat max thong bao dat chien thang
			}
		
		return level_current;
		
	}
	
	

}
